package com.ruoyi.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "PayRes", description = "支付响应实体")
public class PayRes implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 返回状态码 1为成功，其它值为失败
     */
    @ApiModelProperty(value = "商户ID")
    private Integer code;
    /**
     * 返回信息
     */
    @ApiModelProperty(value = "返回信息")
    private String msg;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String trade_no;
    /**
     * 支付跳转url
     */
    @ApiModelProperty(value = "支付跳转url")
    private String payurl;

    /**
     * 二维码链接
     */
    @ApiModelProperty(value = "支付跳转url")
    private String qrcode;

    /**
     * 小程序跳转url
     */
    @ApiModelProperty(value = "小程序跳转url")
    private String urlscheme;

}
